// 安保活动
import request from '@/utils/request'

// 安保活动首页数据
export function getActivityMap() {
    return request({
        url: '/aqbz/getActivityMap',
        method: 'get',
    })
}
// 安保二级页面
// 图件展示
export function getTjzs(query) {
    return request({
        url: '/aqbz/getTjzs',
        method: 'get',
        params: query
    })
}
//地震灾害风险隐患点
export function getDangerPoints(query) {
    return request({
        url: '/aqbz/getDangerPoints',
        method: 'get',
        params: query
    })
}
//地震灾害风险隐患点评估报告
export function getReport(query) {
    return request({
        url: '/aqbz/getReport',
        method: 'get',
        params: query
    })
}
//严重破坏和毁坏风险占比统计
export function getProportionStatistics(query) {
    return request({
        url: '/aqbz/getProportionStatistics',
        method: 'get',
        params: query
    })
}

//三级
//根据活动id查询重点场所
export function getZdcs(query) {
    return request({
        url: '/aqbz/getZdcs',
        method: 'get',
        params: query
    })
}
//查询重点场所下的 学校医院等
export function getLittleZdcs(query) {
    return request({
        url: '/aqbz/getLittleZdcs',
        method: 'get',
        params: query
    })
}

//查询地图活动集合点
export function getMapDate(query) {
    return request({
        url: '/aqbz/getMapDate',
        method: 'get',
        params: query
    })
}

//查询地图活动点
export function getIa(query) {
    return request({
        url: '/aqbz/getIa',
        method: 'get',
        params: query
    })
}
